{*<?xml version="1.0" encoding="{$lang.charset}" ?>
<rss version="2.0"
xmlns="http://backend.userland.com/rss2"
xmlns:yandex="http://news.yandex.ru">
<channel>
	<title>{$Config.SiteNameInWords}</title>
	<link>{$HOST}</link>
	<description>{eval var=$lang.front.lastRSSNews}</description>
	<language>{$LANG}</language>
	<copyright>Copyright {$smarty.now|date_format:'%Y'} {$Config.SiteDomain}</copyright>
	<lastBuildDate>{$smarty.now|date_format:'%a, %e %b %Y %T %z'}</lastBuildDate>
	<docs>http://backend.userland.com/rss</docs>
	<generator>XPOM.ru</generator>
	<webMaster>{$Config.adminEmail}</webMaster>
  	<ttl>{$Config.NewsRSSCount}</ttl>
  	<image>
  		<url>{$HOST}{$Config.MainImageFolder}logo_100x100.gif</url>
  		<title>{$Config.SiteNameInWords}</title>
		<link>{$HOST}</link>
  	</image>
{foreach from=$News item='curr'}
	<item>
		<title>{$curr.title}</title>
		<category>{foreach from=$curr.rubrics_arr item="rubric" name="rubric"}{$rubric.title}{if $smarty.foreach.rubric.last neq true},{/if}{/foreach}</category>
		<link>{$BaseURL}news/{$curr.p_date|date_format:'%Y'}/{$curr.p_date|date_format:'%m'}/{$curr.p_date|date_format:'%d'}/{$curr.linkname}{$Config.webPageFileType}</link>
		<description>{$curr.body|unescape|strip_tags:false|truncate:$Config.NewsBigDescriptionSymbolsCount:"..."|escape:'htmlchars'}</description>
		<pubDate>{$curr.p_date|date_format:'%a, %e %b %Y %T %z'}</pubDate>
	</item>
{/foreach}  *}
<?xml version="1.0" encoding="{$lang.charset}"?>
<rss version="2.0">
<channel>
   <title>{$Config.SiteNameInWords}</title>
   <link>{$HOST}</link>
   <image>
      <url>{*{$HOST}{$Config.MainImageFolder}logo_100x100.gif*}</url>
      <title>{$Config.SiteNameInWords}</title>
      <link>{$HOST}</link>
      <width>100</width>
      <height>100</height>
   </image>
{foreach from=$News item='curr'}
   <item>
      <title>{$curr.title}</title>
      <link>{$BaseURL}news/{$curr.p_date|date_format:'%Y'}/{$curr.p_date|date_format:'%m'}/{$curr.p_date|date_format:'%d'}/{$curr.linkname}{$Config.webPageFileType}</link>
      <description>{$curr.body|unescape|strip_tags:false|truncate:$Config.NewsBigDescriptionSymbolsCount:"..."|escape:'htmlchars'}</description>
      <pubDate>{$curr.p_date|date_format:'%a, %e %b %Y %T %z'}</pubDate>
         <category>{foreach from=$curr.rubrics_arr item="rubric" name="rubric"}{$rubric.title}{if $smarty.foreach.rubric.last neq true}, {/if}{/foreach}</category>
   </item>
{/foreach}
</channel>
</rss>